port-monitor

This command configures source ports. This is performed after you have chosen your destination port.

Syntax

port-monitor <type> <slot/port> <direction>

Command

Description

Type

Defines the source Interface type FastEthernet/GigabitEthernet.

slot/port

Defines the source Interface slot number and port number.

direction

Defines the monitoring direction (ingress, egress, or both-direction).

Related Commands

port-monitor-save-after-reset

Example

This example defines a key to a peer ip.

(conf-if-GE 4/3)# port-monitor GigabitEthernet 4/1 ingress
(conf-if-GE 4/3)# port-monitor FastEthernet 5/2 egress
(conf-if-GE 4/3)# port-monitor GigabitEthernet 4/4 both-direction